﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks; 

namespace MKIB3Game
{
   public class Challenge
    {
        private int id;
        private ChallengeTypeEnum type;
        private bool accepted;

        public Challenge(int id, bool accepted, ChallengeTypeEnum type)
        {
            setId(id);
            setType(type);
            setAccepted(accepted);
        }

        public void setType(ChallengeTypeEnum type)
        {
            this.type = type;
        }

        public void setAccepted(bool accepted)
        {
            this.accepted = accepted;
        }

        public bool getAccepted()
        {
            return this.accepted;
        }

        public void setId(int id)
        {
            this.id = id;
        }

        public int getId()
        {
            return this.id;
        }
    }
}
